package com.example.csclient.data

import com.example.csclient.network.CscApiService
import com.example.csclient.network.CscClientService

interface AppContainer {
    val cscRepository: CscRepository
}

class DefaultAppContainer: AppContainer {
    private val cscService: CscApiService by lazy {
        CscClientService()
    }

    override val cscRepository: CscRepository by lazy {
        NetworkCscRepository(cscService)
    }
}
